/*
 * CmdServer.cpp
 *
 *  Created on: Aug 18, 2016
 *      Author: ubuntu
 */

#include "CmdServer.h"
#include "CmdClientConnect.h"

CmdServer::CmdServer(int port, int type) :
	TcpServer(port, type)
{

}

CmdServer::~CmdServer()
{

}

ClientConnection *CmdServer::on_connect(struct connectop *op, struct sockaddr *addr)
{
	CmdClientConnection *pConnect = new CmdClientConnection(this, op, addr);
	return pConnect;
}


